<div class="shop-cart-page" ng-controller="shopCartCtr">
    <div class="title container">
        购物车<span>({{dataNum()}})</span>
        <span class="edit" ng-show="isEdit" ng-click="numClick()">完成</span>
        <span class="edit" ng-hide="isEdit" ng-click="isEdit=!isEdit">编辑</span>
    </div>

    <div class="list container">

        <div class="item" ng-repeat="(key,item) in newDatas">
            <label class="check">
                <input type="checkbox" ng-checked="item.checked" ng-click="item.checked = !item.checked"><i></i>
            </label>
            <img class="pic" ng-src="{{item.imgSrc}}" alt="item">
            <div class="desc">
                <h3 ng-bind="item.title"></h3>
                <div class="type">
                    <div>品牌：<span>Kayjoun</span></div>
                    <div ng-show="!isEdit">款式：<span>条纹</span></div>
                    <div ng-show="isEdit" class="del" ng-click="remove(item.id)">删除</div>
                </div>
                <div class="order" ng-class="isEdit?'edit':''">
                    <div ng-show="isEdit">
                        <button ng-click="reduce(item.id)">-</button>
                        <input type="number" min="1" ng-model="item.num">
                        <button ng-click="item.num=item.num+1">+</button>
                    </div>
                    <div class="price">￥<span ng-bind="item.price"></span></div>
                    <div ng-show="!isEdit">&times;<sapn ng-bind="item.num"></sapn>
                    </div>
                </div>
            </div>
        </div>

        <!--        <div class="item">
                    <label class="check">
                        <input type="checkbox"><i></i>
                    </label>
                    <img class="pic" src="./src/img/shop_item1.jpg" alt="item">
                    <div class="desc">
                        <h3>高档商务潮男士围巾披肩两用春秋冬季加厚针织围脖</h3>
                        <div class="type">
                            <div>品牌：<span>Kayjoun</span></div>
                            <div>款式：<span>条纹</span></div>
                        </div>
                        <div class="order">
                            <div class="price">￥<span>468.00</span></div>
                            <div>&times;<sapn>1</sapn></div>
                        </div>
                    </div>
                </div>-->
    </div>


    <div class="total">
        <div class="left">
            <label class="check">
                <input type="checkbox" ng-checked="isCheckAll()" ng-click="checkAll()"><i></i>
                <span>全选</span>
            </label>
            <div class="price">
                <div>合计：
                    <small>￥</small>
                    <span ng-bind="totalPrice() | number:2">695.00</span></div>
                <p>不含运费折扣券</p>
            </div>
        </div>
        <div class="pay" ng-click="pay()">去结算</div>
    </div>


    <div app-bottom-bar></div>
    


</div>